package cn.sunxyz.behavior.visitor;

/**
 * Created by yangrd on 2017/5/15.
 */
public class MyVisitor implements Visitor {
    @Override
    public void visit(Subject sub) {
        System.out.println("MyVisitor:" + sub.getSubject());
    }
}
